#include <stdio.h>

int main(int argc, char *argv[])
{
    int i;
    printf("The argc is %d\n", argc);
    printf("The argv are ");
    for(i = 0; i < argc; i++)
    {
        if(i == (argc - 1))
        {
            printf("and ");
        }
        printf("%s ", argv[i]);
        if(i == (argc - 1))
        {
            printf("\n");
        }
    }
    return 0;
}